package top.whysu.rongcloud.dto.rongcloud;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class GroupMembersResponseDTO {
    /**
     * 用户id
     */
    private String memberId;
    /**
     * 群名片
     */
    private String displayName;
    /**
     * 0表示群主，1表示普通成员
     */
    private Integer role;
    /**
     * 用户头像
     */
    private String avatar;
    /**
     * 用户性别
     */
    private String gender;
    /**
     * 用户昵称
     */
    private String nickname;
    /**
     * 融云token
     */
    private String token;
    /**
     * 融云id
     */
    private String rongCloudUserId;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateAt;

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRongCloudUserId() {
        return rongCloudUserId;
    }

    public void setRongCloudUserId(String rongCloudUserId) {
        this.rongCloudUserId = rongCloudUserId;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
}
